Commit
b7e1539699ef removed the size to support hidpi but that caused the
actor to no longer be square. Fix that by going back to setting a size
but apply the scale factor before doing so.
}));
this._actorDestroyed = false;
+ let scale_factor = St.ThemeContext.get_for_stage(global.stage).scale_factor;
this._iconBin = new St.Bin({ x_fill: true,
- y_fill: true });
+ height: size * scale_factor,
+ width: size * scale_factor });
this.actor.add_actor(this._iconBin);